package com.sidianzhong.sdz.service;

import com.alibaba.fastjson.JSONObject;
import com.sidianzhong.sdz.model.*;
import com.sidianzhong.sdz.utils.PageInfo;

import java.util.Date;
import java.util.List;

/**
* Created by hxgqh on 2016/1/7.
*/
public interface WebEquipmentonoffrecordService {

    WebEquipmentonoffrecord create(WebEquipmentonoffrecord item);

    int delete(Integer id);

    int update(WebEquipmentonoffrecord item);

    WebEquipmentonoffrecord get(Integer id);

    PageInfo<WebEquipmentonoffrecord> getListWithPaging(Integer pageNum, Integer pageSize,
                                                        String sortItem, String sortOrder, WebEquipmentonoffrecord item);

    JSONObject setlectTime(String equipmenttypekey, String equipmentkey);

    int batchInsert(List<WebEquipmentonoffrecord> list);
}
